///////////////////////////////////////////////////////////
//  ViewTemplateCommand.h
//  Implementation of the Class ViewTemplateCommand
//  Created on:      21-Sep-2013 12:09:31 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_82B14223_E81E_4b55_8638_150711175D5B__INCLUDED_)
#define EA_82B14223_E81E_4b55_8638_150711175D5B__INCLUDED_

#include "ICommand.h"
#include "CPreviewDetailView.h"
#include "CTemplateView.h"

namespace UI
{
  namespace CMD
  {
    class ViewTemplateCommand : public ICommand
    {

    public:

      ViewTemplateCommand(CPreviewDetailView* previewDetail, CTemplateView* _template);
      virtual ~ViewTemplateCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CTemplateView* m_templateView;
      CPreviewDetailView* m_previewDetailView;

    };
  }
}


#endif // !defined(EA_82B14223_E81E_4b55_8638_150711175D5B__INCLUDED_)
